﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StockMarketTool.Model
{
    public class StockModel : NotifyBase
    {
        private string _symbol;
        /// <summary>
        /// 股票代码（带沪深分类）
        /// </summary>
        public string symbol
        {
            get { return _symbol; }
            set
            {
                _symbol = value;
                RaisePropertyChanged("symbol");
            }
        }
        private string _code;
        /// <summary>
        /// 股票代码（纯数字）
        /// </summary>
        public string code
        {
            get { return _code; }
            set
            {
                _code = value;
                RaisePropertyChanged("code");
            }
        }
        private string _name;
        /// <summary>
        /// 股票名称
        /// </summary>
        public string name
        {
            get { return _name; }
            set
            {
                _name = value;
                RaisePropertyChanged("name");
            }
        }

    }
}
